import axios from '../axios.js'


export default {

    getPerson(params) {
        return axios({
            url: '/salespersons/getPersonOne',
            method: 'GET',
            params
        })
    },
    updatePersonInfo(data) {
        return axios({
            url: '/salespersons/updateSalespersons',
            method: 'POST',
            data
        })
    }
}